//
//  SearchModel.m
//  ThePrivateKitchen
//
//  Created by lirui on 16/1/26.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import "SearchModel.h"

@implementation SearchModel
- (void)dealloc
{
    [_title release];
    [_descript release];
    [_image release];
    [_video release];
    [_video1 release];
    [_dish_id release];
    [_play release];
    [_favorite release];
    [_hard_level release];
    [_cookie release];
    [_taste release];
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.dish_id = value;
    }
    if ([key isEqualToString:@"description"]) {
        self.descript = value;
    }
    if ([key isEqualToString:@"dishes_id"]) {
        self.dish_id = value;
    }
}

@end
